package com.eascs.banknet.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 银行授信信息Entity
 * @author Administrator
 *
 */
@Entity
@Table(name = "o2o_credit")
public class CreditEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	@Id
	private String id;
	
	@Column(name = "loanapply_no")
	private String loanapplyNo;
	
	@Column(name = "credit_limit_amt")
	private BigDecimal creditLimitAmt;
	
	@Column(name = "avg_cardused_amt")
	private BigDecimal avgCardusedAmt;
	
	@Column(name = "credit_limit_rate")
	private BigDecimal creditLimitRate;
	
	private String islock;
	
	private String creator;
	
	@Column(name = "create_time")
	private Date createTime;
	
	private String updator;
	
	@Column(name = "update_time")
	private Date updateTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLoanapplyNo() {
		return loanapplyNo;
	}

	public void setLoanapplyNo(String loanapplyNo) {
		this.loanapplyNo = loanapplyNo;
	}

	public BigDecimal getCreditLimitAmt() {
		return creditLimitAmt;
	}

	public void setCreditLimitAmt(BigDecimal creditLimitAmt) {
		this.creditLimitAmt = creditLimitAmt;
	}

	public BigDecimal getAvgCardusedAmt() {
		return avgCardusedAmt;
	}

	public void setAvgCardusedAmt(BigDecimal avgCardusedAmt) {
		this.avgCardusedAmt = avgCardusedAmt;
	}

	public BigDecimal getCreditLimitRate() {
		return creditLimitRate;
	}

	public void setCreditLimitRate(BigDecimal creditLimitRate) {
		this.creditLimitRate = creditLimitRate;
	}

	public String getIslock() {
		return islock;
	}

	public void setIslock(String islock) {
		this.islock = islock;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
